package com.keta.foundation.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.keta.foundation.entity.Module;
import com.keta.foundation.entity.Permission;

public interface PermissionDAO extends JpaRepository<Permission, Long>, JpaSpecificationExecutor<Permission> {

	Permission getBySnAndModuleId(String sn,Long moduleId);
}
